const data = JSON.parse(localStorage.getItem("tree"));
import createBehaviorTree from "../packages/transfer/dist/index.js";
console.log("准备完成");
const EVENT = {
    jump() {
        console.log("jump");
        return false;
    },
    escape() {
        console.log("escape");
    },
    isAngry() {
        console.log("isAngry");
    },
};
const { BT, State } = createBehaviorTree(data);
BT.handleEvent(new State(), EVENT);
